import request from 'network/index'

//请求登录
export function Login(data) {
  return request({
    method: 'post',
    url: '/login',
    data
  })
}

//忘记密码
export function forgetPassword(data){
  return request({
    method:"put",
    url:"/user/password/replace",
    data
  })
}